<?php
$a=[111,222,'name'=>'张三','age'=>18,1000=>333,444];
foreach ($a as $key=>$value){
    echo $key,'------>',$value,"\n";
}
echo '\n';
foreach ($a as $key=>$value){//仅处理value值
    echo $key,'------>',$value,"\n";
}